# The following lines of boilerplate have to be in your project's CMakeLists
# in this exact order for cmake to work correctly
#  #include "E:\esp32\sdk\v5.3.2\esp-idf\components\esp_driver_gpio\include\driver" 
#             E:\esp32\sdk\v5.3.2\esp-idf\tools
#


cmake_minimum_required(VERSION 3.16)


# include($ENV{IDF_PATH}/components/esp_driver_gpio/include/driver)
set(led_srcs "src/led.c" "src/rgb_ws2812b.c")

set(requires driver)

idf_component_register(SRCS "${led_srcs}"
                       INCLUDE_DIRS "include"
                       REQUIRES ${requires}
                       )

                       

